// 保存token到本地，数据持久化
export function setToken (token) {
  return localStorage.setItem('token', token)
}
// 获取token
export function getToken () {
  return localStorage.getItem('token')
}
// 移出token
export function removeToken () {
  return localStorage.removeItem('token')
}
